public class Map extends BasicItem {

	//*****VARIABLES*****//
	private String region;
	//*****VARIABLES*****//
	
	
	
	//*****CONSTRUCTOR*****//
	public Map(String title, String author, String publicationDate, String region){
		super(title, author, publicationDate);
		this.region=region;
	}
	//*****CONSTRUCTOR*****//
	
	
	
	//*****GET_MAX_BORROW_TIME*****//
	public long getMaxBorrowTime(){
		return 21*86400000L;
	}
	//*****GET_MAX_BORROW_TIME*****//
	
	
	
	//*****GET_FEE_PER_DAY*****//
	public double getFeePerDay(){
		return 3.0;
	}
	//*****GET_FEE_PER_DAY*****//
	
	
	//*****EQUALS_TEST*****//
	public boolean equals(Object obj){
		if(obj!=null && obj instanceof Map){
			if(((Map) obj).region.equals(this.region))
				return super.equals(obj);
		}
		return false;
	}
	//*****EQUALS_TEST*****//	
}
